<?php

namespace App\Http\Controllers;

use App\Dics;
use Illuminate\Http\Request;

use App\Http\Requests;

class BatchController extends Controller
{
    public function goods()
    {
        $dicStyle_up=Dics::where("parent_id","9")->get();
        $dicStyle_down=Dics::where("parent_id","16")->get();

        $dicColor=Dics::where("parent_id","2")->get();

        $dicSize_up=Dics::where("parent_id","21")->get();
        $dicSize_down=Dics::where("parent_id","28")->get();

        return view('system.bat.goodsbatch',compact(['dicStyle_up','dicStyle_down','dicColor','dicSize_up','dicSize_down']));
    }
}
